/*
 * @Author: canlong.shen
 * @Date: 2021-10-22 16:50:05
 * @LastEditors: your name
 * @LastEditTime: 2021-10-22 16:51:33
 * @Description: file content
 */
import Vuex from "vuex"

function createStore() {
    return new Vuex.Store({
        state: {
            count: 100,
        },
        mutations: {
            increment(state) {
                state.count++
            },
        },
    })

}

export default createStore